#ifndef __GZ_INTERFACE_TOPIC_PUBLISH_H__
#define __GZ_INTERFACE_TOPIC_PUBLISH_H__

#include <string>

namespace Gazella {

class GzTopicPublish {
public:
    GzTopicPublish();
    ~GzTopicPublish();

    static int publish(
        const std::string& topic, //publish topic name
        const std::string& payload, //publish topic payload, user defined
        uint8_t qos = 0,  //QoS for Publish, same as mqtt. QoS>=1 only valid to subscribe under the sampe broker
        uint8_t retain = 0 //publish message retain or not
    );
};
} //namespace Gazella

#endif